package com.ibook.pojo;

import java.util.Date;

public class User {
    private Integer userId;

    private String userName;

    private String userNickname;

    private String userSex;

    private String userPassword;

    private String userEmail;

    private String userPhone;

    private Integer userSubjectid;

    private Integer userSchoolid;

    private String userPictureurl;

    private Boolean userStatus;

    private Date userLastlogin;

    private Date userCreatetime;

    private Date userUpdatetime;

    public User(Integer userId, String userName, String userNickname, String userSex, String userPassword, String userEmail, String userPhone, Integer userSubjectid, Integer userSchoolid, String userPictureurl, Boolean userStatus, Date userLastlogin, Date userCreatetime, Date userUpdatetime) {
        this.userId = userId;
        this.userName = userName;
        this.userNickname = userNickname;
        this.userSex = userSex;
        this.userPassword = userPassword;
        this.userEmail = userEmail;
        this.userPhone = userPhone;
        this.userSubjectid = userSubjectid;
        this.userSchoolid = userSchoolid;
        this.userPictureurl = userPictureurl;
        this.userStatus = userStatus;
        this.userLastlogin = userLastlogin;
        this.userCreatetime = userCreatetime;
        this.userUpdatetime = userUpdatetime;
    }

    public User() {
        super();
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getUserNickname() {
        return userNickname;
    }

    public void setUserNickname(String userNickname) {
        this.userNickname = userNickname == null ? null : userNickname.trim();
    }

    public String getUserSex() {
        return userSex;
    }

    public void setUserSex(String userSex) {
        this.userSex = userSex == null ? null : userSex.trim();
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword == null ? null : userPassword.trim();
    }

    public String getUserEmail() {
        return userEmail;
    }

    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail == null ? null : userEmail.trim();
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public Integer getUserSubjectid() {
        return userSubjectid;
    }

    public void setUserSubjectid(Integer userSubjectid) {
        this.userSubjectid = userSubjectid;
    }

    public Integer getUserSchoolid() {
        return userSchoolid;
    }

    public void setUserSchoolid(Integer userSchoolid) {
        this.userSchoolid = userSchoolid;
    }

    public String getUserPictureurl() {
        return userPictureurl;
    }

    public void setUserPictureurl(String userPictureurl) {
        this.userPictureurl = userPictureurl == null ? null : userPictureurl.trim();
    }

    public Boolean getUserStatus() {
        return userStatus;
    }

    public void setUserStatus(Boolean userStatus) {
        this.userStatus = userStatus;
    }

    public Date getUserLastlogin() {
        return userLastlogin;
    }

    public void setUserLastlogin(Date userLastlogin) {
        this.userLastlogin = userLastlogin;
    }

    public Date getUserCreatetime() {
        return userCreatetime;
    }

    public void setUserCreatetime(Date userCreatetime) {
        this.userCreatetime = userCreatetime;
    }

    public Date getUserUpdatetime() {
        return userUpdatetime;
    }

    public void setUserUpdatetime(Date userUpdatetime) {
        this.userUpdatetime = userUpdatetime;
    }
}